.class public Lcom/waiqin365/lightapp/chexiao/CXRecordsListZCActy;
.super Lcom/waiqin365/lightapp/chexiao/CXRecordsListBaseActy;

# interfaces
.implements Landroid/view/View$OnClickListener;
.implements Landroid/widget/AdapterView$OnItemClickListener;


# instance fields
.field public t:Landroid/os/Handler;

.field private u:Ljava/util/List;

.field private v:Lcom/waiqin365/lightapp/chexiao/b/a/bi;


# direct methods
.method public constructor <init>()V
    .locals 1

    invoke-direct {p0}, Lcom/waiqin365/lightapp/chexiao/CXRecordsListBaseActy;-><init>()V

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListZCActy;->u:Ljava/util/List;

    new-instance v0, Lcom/waiqin365/lightapp/chexiao/dj;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/chexiao/dj;-><init>(Lcom/waiqin365/lightapp/chexiao/CXRecordsListZCActy;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListZCActy;->t:Landroid/os/Handler;

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/chexiao/CXRecordsListZCActy;)Lcom/waiqin365/lightapp/chexiao/b/a/bi;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListZCActy;->v:Lcom/waiqin365/lightapp/chexiao/b/a/bi;

    return-object v0
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/chexiao/CXRecordsListZCActy;Lcom/waiqin365/lightapp/chexiao/b/a/bi;)Lcom/waiqin365/lightapp/chexiao/b/a/bi;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListZCActy;->v:Lcom/waiqin365/lightapp/chexiao/b/a/bi;

    return-object p1
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/chexiao/CXRecordsListZCActy;)Ljava/util/List;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListZCActy;->u:Ljava/util/List;

    return-object v0
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/chexiao/CXRecordsListZCActy;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListZCActy;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic d(Lcom/waiqin365/lightapp/chexiao/CXRecordsListZCActy;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListZCActy;->mContext:Landroid/content/Context;

    return-object v0
.end method


# virtual methods
.method public b()V
    .locals 1

    invoke-super {p0}, Lcom/waiqin365/lightapp/chexiao/CXRecordsListBaseActy;->b()V

    const/4 v0, 0x1

    iput v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListZCActy;->c:I

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/chexiao/CXRecordsListZCActy;->d()V

    return-void
.end method

.method public d()V
    .locals 4

    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    const-string/jumbo v1, "conditions.curPage"

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    iget v3, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListZCActy;->c:I

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v3, ""

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListZCActy;->k:Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;->d()Ljava/lang/CharSequence;

    move-result-object v1

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_0

    const-string/jumbo v1, "conditions.carNo"

    iget-object v2, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListZCActy;->k:Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;->d()Ljava/lang/CharSequence;

    move-result-object v2

    invoke-interface {v2}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_0
    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListZCActy;->l:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;->e()Lcom/waiqin365/lightapp/kehu/share/a/c;

    move-result-object v1

    if-eqz v1, :cond_1

    const-string/jumbo v1, "conditions.submitId"

    iget-object v2, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListZCActy;->l:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;->e()Lcom/waiqin365/lightapp/kehu/share/a/c;

    move-result-object v2

    iget-object v2, v2, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_1
    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListZCActy;->m:Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->f()Ljava/util/HashMap;

    move-result-object v1

    if-eqz v1, :cond_2

    const-string/jumbo v1, "conditions.startDate"

    iget-object v2, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListZCActy;->m:Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    const-string/jumbo v3, "yyyy-MM-dd"

    invoke-virtual {v2, v3}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_2
    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListZCActy;->n:Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->f()Ljava/util/HashMap;

    move-result-object v1

    if-eqz v1, :cond_3

    const-string/jumbo v1, "conditions.endDate"

    iget-object v2, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListZCActy;->n:Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    const-string/jumbo v3, "yyyy-MM-dd"

    invoke-virtual {v2, v3}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_3
    const-string/jumbo v1, ""

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/chexiao/CXRecordsListZCActy;->showProgressDialog(Ljava/lang/String;)V

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v1

    invoke-virtual {v1, p0}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    new-instance v2, Lcom/waiqin365/lightapp/chexiao/b/a/y;

    invoke-direct {v2, v1, v0}, Lcom/waiqin365/lightapp/chexiao/b/a/y;-><init>(Ljava/lang/String;Ljava/util/HashMap;)V

    new-instance v0, Lcom/waiqin365/lightapp/chexiao/b/b;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListZCActy;->t:Landroid/os/Handler;

    invoke-direct {v0, v1, v2}, Lcom/waiqin365/lightapp/chexiao/b/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightapp/chexiao/b/c;)V

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/chexiao/b/b;->start()V

    return-void
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 4

    const/16 v3, 0x8

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/chexiao/CXRecordsListBaseActy;->onCreate(Landroid/os/Bundle;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListZCActy;->a:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->e:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const v2, 0x7f080508

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightapp/chexiao/CXRecordsListZCActy;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const v2, 0x7f080691

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightapp/chexiao/CXRecordsListZCActy;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    new-instance v0, Lcom/waiqin365/lightapp/chexiao/a/m;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListZCActy;->mContext:Landroid/content/Context;

    invoke-direct {v0, v1}, Lcom/waiqin365/lightapp/chexiao/a/m;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListZCActy;->g:Lcom/waiqin365/lightapp/chexiao/a/m;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListZCActy;->b:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListZCActy;->g:Lcom/waiqin365/lightapp/chexiao/a/m;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setAdapter(Landroid/widget/BaseAdapter;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListZCActy;->b:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0, p0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/chexiao/CXRecordsListZCActy;->b()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListZCActy;->q:Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListZCActy;->o:Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListZCActy;->r:Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListZCActy;->s:Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListZCActy;->b:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    new-instance v1, Lcom/waiqin365/lightapp/chexiao/dh;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/chexiao/dh;-><init>(Lcom/waiqin365/lightapp/chexiao/CXRecordsListZCActy;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setonRefreshListener(Lcom/waiqin365/lightapp/dailyreport/view/z;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListZCActy;->b:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    new-instance v1, Lcom/waiqin365/lightapp/chexiao/di;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/chexiao/di;-><init>(Lcom/waiqin365/lightapp/chexiao/CXRecordsListZCActy;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setonHistoryListener(Lcom/waiqin365/lightapp/dailyreport/view/aa;)V

    return-void
.end method

.method public onItemClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
    .locals 4

    new-instance v1, Landroid/content/Intent;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListZCActy;->mContext:Landroid/content/Context;

    const-class v2, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailZCActy;

    invoke-direct {v1, v0, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v2, "RECORD_ZHUANGCHEPAIZHAO_ITEM"

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListZCActy;->u:Ljava/util/List;

    iget-object v3, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListZCActy;->b:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v3}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->getHeaderViewsCount()I

    move-result v3

    sub-int v3, p3, v3

    invoke-interface {v0, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/io/Serializable;

    invoke-virtual {v1, v2, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsListZCActy;->mContext:Landroid/content/Context;

    invoke-virtual {v0, v1}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    return-void
.end method
